import { get, post } from '@/utils/request'

// 获取视频监控列表
export const get_video_list_api = (params) =>
  get('/app/api/equipment/camera/list', params)

// 获取视频监控详情
export const get_video_detail_api = (params) =>
  get('/app/api/equipment/camera/detail', params)

// 获取视频监控区域列表
export const get_video_place_api = (params) =>
  get('/app/api/equipment/camera/areaList', params)

// 获取视频监控地点列表
export const get_video_location_api = (params) =>
  get('/app/api/equipment/camera/locationList', params)

// 视频监控设为首页展示
export const set_video_home_show_api = (params) =>
  post('/app/api/equipment/camera/setIndexCamera', params)

// 视频监控移除首页展示
export const remove_video_home_show_api = (params) =>
  post('/app/api/equipment/camera/removeIndexCamera', params)
